Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add refresh shares with dealer functionality #665

Merged
merged 19 commits into from
Jul 18, 2024
Merged

Conversation

natalieesk
Copy link
Contributor

This closes #245

@natalieesk natalieesk requested a review from conradoplg May 29, 2024 13:33
Copy link
Contributor

@conradoplg conradoplg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added some comments, the main one is about possibly refactoring the API.

frost-core/src/tests/refresh.rs Outdated Show resolved Hide resolved
frost-core/src/tests/refresh.rs Outdated Show resolved Hide resolved
frost-core/src/keys/refresh.rs Outdated Show resolved Hide resolved
Copy link
Contributor

@conradoplg conradoplg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll need to handle the serialization issue, avoiding returning the identity element

frost-core/src/keys/refresh.rs Outdated Show resolved Hide resolved
frost-core/src/keys/refresh.rs Outdated Show resolved Hide resolved
frost-core/src/keys/refresh.rs Outdated Show resolved Hide resolved
frost-core/src/tests/refresh.rs Show resolved Hide resolved
Copy link

github-actions bot commented Jun 27, 2024

Visit the preview URL for this PR (updated for commit 52806ec):

https://frost-book--pr665-refresh-shares-245-2l1szvtq.web.app

(expires Thu, 01 Aug 2024 22:30:01 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: b7f43333fbf8fa5527ab3f0dd7bd10bb1fa7401c

@natalieesk natalieesk force-pushed the refresh_shares_245 branch from 71666ea to 42f3ebe Compare July 4, 2024 12:45
Copy link
Contributor

@conradoplg conradoplg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks! It just needs fixing CI which requires just changing the import of Vec.

I'm just not sure about the calculate_zero_key name. I don't think the user should care about the fact that involves the zero key. Maybe something like compute_refreshing_shares?

There's some places where I think we can make the code a bit clearer but I think I'll create a PR after this one merges and we can then discuss it.

Copy link
Contributor

@conradoplg conradoplg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

mergify bot added a commit that referenced this pull request Jul 18, 2024
@mergify mergify bot merged commit 835a3f0 into main Jul 18, 2024
21 checks passed
@mergify mergify bot deleted the refresh_shares_245 branch July 18, 2024 22:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature: remove signers or refresh shares with trusted dealer
2 participants